package com.centriole.common.entity;

import java.util.List;

/**
 *  功   能：  PAAS平台内部使用的 用户实体
 *  创建人：陈默晗
 *  时   间：2018年4月18日上午10:40:18
 */
public class PaasUser extends BaseEntity {

    /**
     *   `userId`  'UUID主键',
     *   `accountName`  '用户账号',
     *   `password` '必须是存MD5加密以后的密文',
     *   `nickName`  '用户名',
     *   `status`  '账号状态-> 1:已启用；2:已停用',
     *   `createTime`  '创建时间',
     *   `modifyTime`  '修改时间',
     */

    private String userId;
    private String accountName;
    private String password;
    private String nickName;
    private Integer status;
    private List<PaasService> services;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<PaasService> getServices() {
        return services;
    }

    public void setServices(List<PaasService> services) {
        this.services = services;
    }

    @Override
    public String toString() {
        return "PaasUser{" +
                "userId='" + userId + '\'' +
                ", accountName='" + accountName + '\'' +
                ", password='" + password + '\'' +
                ", nickName='" + nickName + '\'' +
                ", status=" + status +
                ", services=" + services +
                '}';
    }
}
